import request from "@/api/interceptor";

export default {
    login(data) {
        return request.post({
            apiName: "登录",
            url: "/admin-api/system/auth/login",
            data: data,
            loading: true
        });
    },
    subStudentForm(data) {
        return request.post({
            apiName: "申报",
            url: "/declare/declare",
            data: data,
            loading: true
        });
    },
    collectForm(data) {
        return request.post({
            apiName: "申报",
            url: "/collect/collect",
            data: data,
            loading: true
        });
    }
};
